package com.framework.loippi.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.framework.loippi.dao.TLogisticsDao;
import com.framework.loippi.entity.TLogistics;
import com.framework.loippi.service.TLogisticsService;
import java.util.List;
/**
 * SERVICE - TLogistics(物流表)
 * 
 * @author wmj
 * @version 2.0
 */
@Service
public class TLogisticsServiceImpl extends GenericServiceImpl<TLogistics, Long> implements TLogisticsService {
	
	@Autowired
	private TLogisticsDao tLogisticsDao;
	
	
	@Autowired
	public void setGenericDao() {
		super.setGenericDao(tLogisticsDao);
	}

	public List<TLogistics> findListByPage(Object parameter){
		return tLogisticsDao.findListByPage(parameter);
	}

	public Long deletes(Object parameter){
		return tLogisticsDao.deletes( parameter);
	}

	@Override
	public List<TLogistics> findByOrderId(Long orderId) {
	    return tLogisticsDao.findByOrderId(orderId);
	}

}
